package dmp.llapi.util;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Demo {
	public static void main(String[] args) {
		String hmc="http://app.api.autohome.com.cn/autov5.1.0/cars/seriessummary-pm2-s3104-t-c420100.json";
		String yiche="http://api.app.yiche.com/webapi/api.ashx?method=bit.seriessummary&serialid=3721&cityid=1201&sign=f6f54821dfb46fd942d09320ea8aec08 ";
		String huimaiche="http://api.huimaiche.com/User/Util/GetDealerListAndColorInfoByCarId/1201/117096/78";
		String baidu="http://www.baidu.com/cjh/soft";
		String weixin="http://mp.weixin.qq.com/s?__biz=ODYzMzExMzQx&idx=2&mid=403058469&sn=d6f1e53e50416de72d875517ba88225a";
		Map<String, String> map=new HashMap<>();
		
		map=UrlParseList.getParserMap();
		String rr = URLUtils.getValueByParam(baidu, map);
		
		System.out.println(rr);
//		System.out.println(map.get("yiche"));
//		System.out.println("adf|baidu/${dfd}adfd${dfd}df".matches(".*\\$\\{.*\\}.*"));
		
	}
}
